﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="JT_TicketReturnManager.aspx.cs" Inherits="JTicket.UI.JT_TicketReturnManager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" border="0" cellpadding="4" cellspacing="1" 
        class="toptable grid" width="100%">
        <tr>
            <td class="category t2" height="25" width="100">
                退票管理</td>
            <td class="category" height="25">
                <input id="Text1" class="input" type="text" /><asp:Button ID="BtnSelete" 
                    runat="server" CssClass="submitMiniGreen" OnClick="Button2_Click" 
                    OnClientClick="return isExc()" onmousemove="showBtnOver(this)" 
                    onmouseout="showBtnOut(this)" Text="查  询" />
                <asp:Button ID="BtnAdd" runat="server" CssClass="submitMiniGreen" 
                    OnClientClick="return isExc()" onmousemove="showBtnOver(this)" 
                    onmouseout="showBtnOut(this)" Text="添  加" />
            </td>
        </tr>
    </table>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td width="100%">
                <asp:DataGrid ID="dg1" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" CellPadding="0" OnItemDataBound="dg1_ItemDataBound" 
                    PageSize="20" Width="100%">
                    <HeaderStyle BackColor="#3890B5" Height="25px" HorizontalAlign="Center" />
                    <ItemStyle BackColor="#F6F6F6" Height="25px" HorizontalAlign="Center" />
                    <Columns>
                        <asp:TemplateColumn HeaderText="选   择">
                            <ItemTemplate>
                                <input id="YX_CH" name="YX_CH" type="checkbox" style="border: 0" value="<%# DataBinder.Eval(Container.DataItem,"x_id") %>" />
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="订单号">
                            <ItemTemplate>
                                <a href='?YX_FS=Edit&amp;YX_MID=<%# DataBinder.Eval(Container.DataItem,"X_ID") %>&amp;YX_OrderFormID=<%# DataBinder.Eval(Container.DataItem,"x_orderid") %>'>
                                <%# DataBinder.Eval(Container.DataItem, "x_orderid")%></a>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="下单人">
                            <ItemTemplate>
                                <%# DataBinder.Eval(Container.DataItem, "x_userID")%>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="领票人">
                            <ItemTemplate>
                                <%# DataBinder.Eval(Container.DataItem, "x_Lname")%>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="总金额(元)">
                            <ItemTemplate>
                                <%# DataBinder.Eval(Container.DataItem, "x_Mont","{0:0.00}")%>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <%--               <asp:TemplateColumn HeaderText="总金额(网币)">
                <ItemTemplate >
			
				<%# DataBinder.Eval(Container.DataItem, "YX_SumWB")%>	
                </ItemTemplate>
                  <HeaderStyle CssClass="B" />
             </asp:TemplateColumn>--%>
                        <asp:TemplateColumn HeaderText="订单状态">
                            <ItemTemplate>
                                <%# setSatet(Convert.ToInt16(DataBinder.Eval(Container.DataItem, "x_State")))%>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="下单时间">
                            <ItemTemplate>
                                <%#DataBinder.Eval(Container.DataItem, "x_orderTime")%>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                        <asp:TemplateColumn HeaderText="操作">
                            <ItemTemplate>
                                <a href='?YX_FS=del&amp;YX_MID=<%# DataBinder.Eval(Container.DataItem,"X_ID") %>&amp;YX_OrderFormID=<%# DataBinder.Eval(Container.DataItem,"x_OrderID") %>' 
                                    onclick="return isdel()">
                                <img src="images/no.gif" border="0" />
                                </a>
                            </ItemTemplate>
                            <HeaderStyle CssClass="B" />
                        </asp:TemplateColumn>
                    </Columns>
                    <PagerStyle Visible="False" />
                </asp:DataGrid>
            </td>
        </tr>
        <tr>
            <td>
                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                    <tr bgcolor="#E7E7E7">
                        <td align="center" bgcolor="#E7E7E7" colspan="4" style="color: #000000">
                            <input id="chkall" onclick="CheckAll(this.form)" style="border: 0" 
                                type="checkbox" />全选<asp:DropDownList ID="DropDownList1" runat="server">
                                <asp:ListItem Value="1">---删除订单---</asp:ListItem>
                            </asp:DropDownList>
                            <asp:Button ID="BtnSubmit" runat="server" CssClass="submitMiniGreen" 
                                OnClick="Button2_Click" OnClientClick="return isExc()" 
                                onmousemove="showBtnOver(this)" onmouseout="showBtnOut(this)" Text="执行操作" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
